%h1=_ "Listing types"
%table
  %tr
    - for column in Type.content_columns 
      %th= column.human_name
  - for type in @types 
    %tr
      - for column in Type.content_columns 
        %td=h type.send(column.name) 
      %td= link_to _('Show'), :action => 'show', :id => type 
      %td= link_to _('Edit'), :action => 'edit', :id => type
      %td= link_to _('Destroy'), { :action => 'destroy', :id => type }, :confirm => 'Are you sure?' 
= will_paginate @types
= "<br />"
= link_to _('New type'), :action => 'new' 